import IslikeModel from '@/models/islike';
import { HttpRequest } from 'xo-web-base';

export default class IsLikeService {
    /**
     * 列表
     * @param pageNumber
     * @param pageSize
     * @returns
     */
      
     static save(option) {
         return HttpRequest.post<IslikeModel>('/mini/userisLike/save',
             option
         );
     }

    /**
     * 新闻详情
     * @param id
     * @returns
     */
    static info(id: any) {
        return HttpRequest.post<IslikeModel>('/mini/game/info', {
            id: id,
        });
    }
}